package com.xqboss.apps.vo.dmg;

import com.xqboss.apps.enums.dmg.DmgIntegralStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Trent
 * @date 2023/9/6
 */
@Data
@ApiModel
public class IntegralDeductVo {

    @ApiModelProperty("扣除记录ID")
    private String recordId;

    @ApiModelProperty("外部订单号")
    private String orderId;

    @ApiModelProperty("扣除积分金额")
    private BigDecimal amount;

    @ApiModelProperty("扣除积分识别码")
    private String integralCode;

    @ApiModelProperty("扣除时间")
    private LocalDateTime createTime;

    @ApiModelProperty("扣除状态")
    private DmgIntegralStatusEnum status;

    @ApiModelProperty("回退时间")
    private LocalDateTime fallbackTime;

    @ApiModelProperty("回退原因")
    private String fallbackReason;
}
